<template>
  <div class="attribute">
    <!-- 头部 -->
    <Head />
    <!-- 内容 -->
    <Content />
    <!-- 分页 -->
    <Pagination/>
    <!-- 底部 -->
    <Footer />
  </div>
</template>

<script>
// 引入组件
import Footer from "@/components/footer/footer";
import Head from "@/components/Attribute/Head";
import Content from "@/components/Attribute/content";
import Pagination from "@/components/Attribute/paginations";

export default {
  components: {
    Head,
    Pagination,
    Footer,
    Content
  },
  created() {
    this.$store.dispatch("attribute/attributeGetCategory");
    
    this.$store.dispatch("attribute/attributegetAdminAttribute");
  }
};
</script>

<style lang='less' scoped>
.attribute {
  box-sizing: border-box;
  padding: 10px 0 0 10px;
  background-color: #fff;
  height: 90%;
  overflow-y: auto;
}
</style>